﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="JsscTjCollect.aspx.cs" Inherits="QueryAndCollect_JsscTjCollect" %>

<%@ Register Src="../UserControls/Calendar.ascx" TagName="Calendar" TagPrefix="uc1" %>
<%@ Register Src="../UserControls/GeneralSelect.ascx" TagName="GeneralSelect" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>退件月度统计表(审查中心)</title>
    <link href="../css/page.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript">
    function ViewInstanceFrame(Instance, flag)//查询案件信息
    {
        var strURL = "../QueryAndCollect/TaskProcessView.aspx?IID=" + Instance + "&flag=" + flag;

        window.open(strURL, 'viewer', "height=" + (screen.availHeight - 30) + " , width=" + screen.availWidth + ", top=0, left=0,toolbar=no, menubar=no, scrollbars=no, location=n o, status=no");
    }

    function ReturnMsg(vReturn) {
        alert("设置成功");
    }

    //设置变更原因
    function SetUpdateNotes(strIID) {
        var nReturn = confirm("确定要修改流程中表单内容吗？");
        if (nReturn) {
            var strURL = "TaskUpdateNotes.aspx?iid=" + strIID;
            window.open(strURL, 'viewer', "height=300, width=500, top=0, left=0,toolbar=no, menubar=no, scrollbars=no, location=n o, status=no");
        }
    }

    function EventBeforeFocus(eventContent) {
        var ctrlCodeStore = document.getElementById('codeStore');
        if (ctrlCodeStore != null) {
            ctrlCodeStore.value = eventContent;
        }
    }
</script>
<body>
    <form id="form1" runat="server">
        <div style="width: 99%; margin: 0px auto; text-align: center;">
            <table style="width: 100%; border-top-width: 0px" class="tab">
                <tr>
                    <td>办件类型：
                    </td>
                    <td style="text-align: left">
                        <asp:DropDownList ID="ddlFlow" AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddlFlow_SelectedIndexChanged">
                        </asp:DropDownList>
                    </td>
                   
                    <td>岗位名称：
                    </td>
                    <td style="text-align: left">
                        <asp:DropDownList ID="ddlSteps"  AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddlSteps_SelectedIndexChanged">
                        </asp:DropDownList>
                    </td>

                    <td>人员姓名：
                    </td>
                    <td style="text-align: left">
                        <asp:DropDownList ID="ddlNames" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                     <td>图件用途：
                    </td>
                    <td style="text-align: left">
                        <uc2:GeneralSelect ValidateEmpty="false" FirstEmpty="true" ID="ddlTjlb" Name="图件类别"
                            Width="170" runat="server" />
                    </td>
                    <td>岗位完成时间:
                    </td>
                    <td style="text-align: left" colspan="4">自：<uc1:Calendar ID="startDate" Width="100" runat="server" />
                        到:
                    <uc1:Calendar ID="endDate" Width="100" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td colspan="6">
                        <asp:Button ID="btnRefer" CssClass="input" runat="server" Text="查询" OnClick="btnRefer_Click" />
                    </td>
                </tr>
            </table>
            <controlDefine:CustomGridView ID="gvMessage" runat="server" AllowPaging="false" Width="100%"
                SkinID="NewGrid" HideTextLength="18" AutoGenerateColumns="False"
                AllowOnMouseOverEvent="False" ShowItemNumber="True"
                ShowHideColModel="None" OnOnLoadData="gvMessage_OnLoadData">
                <PagerSettings Visible="true" />
                <Columns>
                    <asp:BoundField HeaderText="图件用途" DataField="dtyt" />
                    <asp:BoundField HeaderText="办件数" DataField="bjs" />
                    <asp:BoundField HeaderText="图幅总数" DataField="tfzs" />
                </Columns>
            </controlDefine:CustomGridView>
        </div>
    </form>
</body>
</html>
